//
//  LYAboutViewController.m
//  LY
//
//  Created by lanou3g on 15/12/15.
//  Copyright © 2015年 梁媛. All rights reserved.
//

#import "LYAboutViewController.h"

@interface LYAboutViewController ()
@property(nonatomic,strong)UILabel *introduceLabel;
@end

@implementation LYAboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
     self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"返回" style:UIBarButtonItemStyleDone target:self action:@selector(leftAction)];
    NSString *string = @"\t我有酒，你有故事吗？\n\n欢迎来到耳语。从什么都没有的地方，到什么都没有的地方，我们像没发生事一样，自顾的走在路上。有些故事深埋心底，有些故事只讲给懂的人听，有些故事只讲给陌生人听。每个人都有自己的故事，我们也会在别人的故事中寻找自己的影子。耳语让你在夜里翻来覆去的时候有所寄托，为你迷茫阴霾的心房点起一盏明灯。停下匆忙的脚步，在耳语休息一下，诉说自己的故事，聆听TA的故事。你会发现这世上有着那么多和你相似的人，他们在这里书写，倾听，享受。";
    self.introduceLabel = [[UILabel alloc] initWithFrame:CGRectMake(15,64,[UIScreen mainScreen].bounds.size.width - 30, self.view.frame.size.height - 170)];
    self.introduceLabel.text = string;
    self.introduceLabel.numberOfLines = 0;
    [self.view addSubview:_introduceLabel];
    self.view.backgroundColor = [UIColor whiteColor];
}
- (void)leftAction{
    [self.navigationController dismissViewControllerAnimated:YES completion:nil];
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
